
var tplTopnews = new AP.Core.JS.Template({
    id: 'tplTopNews',
    template: ['<div showlead="true" class="newsCnt">',
              '<a href="/vn/{CategoryAlias}/{MessageId}/index.html" lead="true">{MsgSubject}</a> {Icon}',
              '<div class="leadContent none">{MsgLead}</div>',
              '</div>'].join('')
});

AP.Core.JS.TemplateManager.add(tplTopnews);

var tplComments = new AP.Core.JS.Template({
    id: 'tplComments',
    template: ['<div>',
               '<p class="cmnt-title">{FullName} - <a href="mailto:{Email}">{Email}</a></p>',
               '<div class="cmnt-content">{Comment}</div>',
               '</div>'].join('')
});

AP.Core.JS.TemplateManager.add(tplComments);

var tplClassifiedAd = new AP.Core.JS.Template({
    id: 'tplClassifiedAd',
    template: ['<p class="item bold bold{VIPStatus}">',
               '<a href="/vn/raovat/{CateAlias}/{Id}/index.html">{Subjects}</a>',
               '</p>'].join('')
                        
                            
                        
});

AP.Core.JS.TemplateManager.add(tplClassifiedAd);
